<style lang="less" scoped src="./member.less"></style>
<script src="./member.js"></script>

<template>
    <div>
        <Row style="font-size: 15px;">
            <Col span="24">
            姓名：<Input v-model="query.realname" clearable style="width: 15%"></Input>
            电话：<Input v-model="query.phone" clearable style="width: 15%"></Input>
            <span @click="loadList"><Button type="primary" icon="android-search">查询</Button></span>
            <span @click="refresh"><Button type="primary" icon="refresh">清空</Button></span>
            </Col>
        </Row>
        <div class="main-table">
            <Table border :columns="columns" :data="data" height="400" size="small"
                   @on-selection-change="onselectionchange"></Table>
        </div>
        <div class="pagination">
            <Page :total="total" size="small" :page-size="pageSize" :current.sync="pageIndex" @on-change="loadList"
                  show-total show-elevator></Page>
        </div>
    </div>
</template>